package cn.tuling;

import cn.tuling.service.UserService;

import java.util.ServiceLoader;

public class App {
    public static void main(String[] args) {
        ServiceLoader<UserService> load = ServiceLoader.load(UserService.class);
        for (UserService userService : load) {
            userService.test();
        }
    }
}
